<%= collection_select :profile, :cid, @cities,:cityid,:city, 
										{ :prompt => "请选择" },
										{ :onchange => "#{
															remote_function( :url => {:controller =>'admin/profile', :action => "gain_areas"}, 
																			 :with => "'city_id='+value",
																			 :complete => "$('#area').show()",
																			 :update => 'area')
														  }"}%>